-
-
Notifications
You must be signed in to change notification settings - Fork 541
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.x] Fix autoloading when addon has multiple service providers #11128
[5.x] Fix autoloading when addon has multiple service providers #11128
Conversation
…rs in the same directory
I've pushed up some changes so that "root level items" like config, routes, views, blueprints, etc will only get booted by the root provider. I added handling so that if you have multiple providers at the root level, the root level items only get booted once. So, now nested providers can have autoloadable things relative to them like tags, actions, etc.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request changes the "base path" used when autoloading addon components, to prevent addons with multiple service providers from booting the same stuff multiple times.
Fixes #11082.